package com.edu.dao;

import com.edu.pojo.Equipment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EquipmentMapper {
    int addEquip(Equipment equipment);

    List<Equipment> showAllEquip(@Param("department") int department);

    int showEquipByNa(@Param("equipmentName") String Name);

    int updateEquip(Equipment equipment);

    Equipment showEqById(@Param("id") int id);
}
